<?php

namespace app\index\model;

use think\Model;

class OrderNum extends Model
{
    //
    public  function shopCart(){
        return $this->hasMany('OrderNum','order_id','id');
    }
    public function address(){
        return $this->hasOne('Address','address_id','id');
    }
}
